/**
 * AgentProtocolCommission
 * Copyright © 2015 - 2017 
 * All rights reserved.
 * -----------------------------------
 * 2018-04-14  Created
 */
package com.lzy.product.entity;

import com.lzy.framework.template.BaseDomain;
import java.math.BigDecimal;

/**
 * Description: AgentProtocolCommission
 * Author: mybatis-generator
 * Version: 1.0 
 * Create Date Time: 2018-04-14
 * Update Date Time: 
 * @see 'http://www.lzyhll.com'
 */
public class AgentProtocolCommission extends BaseDomain {
    /**
     * ID
     */
    private Long id;

    /**
     * 协议id
     */
    private Long protocolId;

    /**
     * 类型（1-首次 2-销售）
     */
    private Integer type;

    /**
     * 模式（1-固定模式 2-升级模式）
     */
    private Integer pattern;

    /**
     * 体系id
     */
    private Long systemId;

    /**
     * 1-百分比 2-元
     */
    private Integer mode;

    /**
     * 百分比或元
     */
    private BigDecimal value;

    /**
     * 升级规则（agent_promote的id）
     */
    private Long promoteId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getProtocolId() {
        return protocolId;
    }

    public void setProtocolId(Long protocolId) {
        this.protocolId = protocolId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getPattern() {
        return pattern;
    }

    public void setPattern(Integer pattern) {
        this.pattern = pattern;
    }

    public Long getSystemId() {
        return systemId;
    }

    public void setSystemId(Long systemId) {
        this.systemId = systemId;
    }

    public Integer getMode() {
        return mode;
    }

    public void setMode(Integer mode) {
        this.mode = mode;
    }

    public BigDecimal getValue() {
        return value;
    }

    public void setValue(BigDecimal value) {
        this.value = value;
    }

    public Long getPromoteId() {
        return promoteId;
    }

    public void setPromoteId(Long promoteId) {
        this.promoteId = promoteId;
    }
}